package com.lyl.momanapp.face.net;


import com.lyl.momanapp.face.bean.ZipResp;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

public interface ServiceApi {

    @FormUrlEncoded
    @POST("3d/index.php")
    Observable<ZipResp>
    doPushPoints(@Field("user_id") String userId, @Field("name") String modelName, @Field("token") String token, @Field("points") String points, @Field("bimg") String bimg);

    @FormUrlEncoded
    @POST("3d/getZip.php")
    Observable<ZipResp>
    getZip(@Field("token") String token);

    @FormUrlEncoded
    @POST("3d/getZip2.php")
    Observable<ZipResp>
    getZip2(@Field("token") String token);

}
